package com.xinou.daily_report.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @创建人 wdl
 * @创建时间 2021/6/11
 * @描述
 */
@Data
public class WeekPlanInfoVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "本周的重点工作")
    private String keyWork;

    @ApiModelProperty(value = "预测结果")
    private String expectedResult;

    @ApiModelProperty(value = "需要的资源支持")
    private String requiredResource;

    @ApiModelProperty(value = "周的id")
    private Long weekId;

    @ApiModelProperty(value = "用户的id")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "部门的id")
    private Long deptId;

    @ApiModelProperty(value = "最后一次修改的时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insertTime;

    private Integer weekDay;

    @ApiModelProperty(value = "任务难度")
    private Integer taskDifficulty;

    @ApiModelProperty(value = "阶段性结果")
    private String stageResult;

    @ApiModelProperty(value = "能否添加")
    private Boolean addtable;

    @ApiModelProperty(value = "能否编辑")
    private Boolean editable;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "描述")
    private String describe;

    private List<WeekPlanInfoVO> weekPlanInfoVOList;




    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nowTime;

}
